/*
 * Configuration settings for new Allwinner F-series (suniv) CPU
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __CONFIG_H
#define __CONFIG_H

/*
 * Include common sunxi configuration where most the settings are
 */
#include <configs/sunxi-common.h>

#define CONFIG_SYS_DFU_DATA_BUF_SIZE (512*1024)

#ifdef CONFIG_VIDEO
#define CONFIG_BMP_16BPP
#define CONFIG_BMP_24BPP
#define CONFIG_BMP_32BPP
#undef CONFIG_VIDEO_LOGO
#endif

/* FIXME: */
#ifdef CONFIG_BOOTCOMMAND
#undef CONFIG_BOOTCOMMAND
#endif
#define CONFIG_BOOTCOMMAND   "sf probe 0 50000000; " \
                             "sf read 0x80C00000 0x70000 0x10000; " \
                             "sf read 0x80008000 0x80000 0x590000; " \
                             "bootz 0x80008000 - 0x80C00000"

#endif /* __CONFIG_H */
